home *** CD-ROM | disk | FTP | other *** search
-
-
-
- VVVVkkkkCCCCmmmmddddMMMMaaaannnnaaaaggggeeeerrrr((((3333xxxx)))) VVVVkkkkCCCCmmmmddddMMMMaaaannnnaaaaggggeeeerrrr((((3333xxxx))))
-
-
-
- NNNNAAAAMMMMEEEE
- VkCmdManager - execute commands
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- VkCallbackObject
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <Vk/VkCmdManager.h>
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The VkCmdManager class provides a central place for executing
- commands and managing them on a undo/redo stacks. The management of
- the VkCmdManager is left to the application, which may wish to have
- a single CmdManager, or multiple instances, depending on the
- application architecture.
-
- The VkCmdManager class can execute a cmd given a VkCmd object, a
- VkCmdFactory object, or a idintifying string, if the VkCmd has been
- registered with the VkCmdRegistry. Commands are executed by calling
- run():
-
-
-
- cmdManager->run("CutCommand");
-
-
- an optional argument to all forms of run can be supplied to be
- passed to the command (via the VkCmd::setData() method) before the
- cmd is executed. This data is uninterpreted by the VkCmdManager, and
- must be agreed upon by the cmd object and the caller.
-
- Interaction with the undo management facilties of the VkCmdManager
- are most easily accessed by the VkMenu class's addUndoAction() and
- addRedoAction() methods. The methods connect an instance of
- VkCmdManager with the appropriate menu commands.
-
-
-
- SSSSAAAAMMMMPPPPLLLLEEEE CCCCOOOODDDDEEEE
- /usr/share/src/ViewKit/Commands/ByName/
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- VkCmd, VkCmdFactory, VkCmdRegistry
- _V_i_e_w_K_i_t _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
- _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m, DEC Press, Bob Sheifler and Jim Gettys
- _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m _T_o_o_l_k_i_t, DEC Press, Paul Asente and Ralph Swick
- _T_h_e _O_S_F/_M_o_t_i_f _P_r_o_g_r_a_m_m_e_r_s _R_e_f_e_r_e_n_c_e, Prentice Hall, OSF
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-